Graph Error
constructor(message: String?, path: List<Any>? = null, locations: List<GraphError.Location>? = null, extensions: Map<String, Any?>? = null)
Parameters
message
Description of the error.
path
Path of the the response field that encountered the error, as segments that represent fields should be strings, and path segments that represent list indices should be 0‐indexed integers. If the error happens in an aliased field, the path to the error should use the aliased name, since it represents a path in the response, not in the query.
locations
List of locations within the GraphQL document at which the exception occurred.
extensions
Additional information about the error.